package com.service.impl;

import java.util.List;
import java.util.Set;

import com.domain.User;
import com.framework.core.myannotation.MyAutowire;
import com.framework.core.myannotation.MyService;
import com.mapper.UserMapper;
import com.service.UserService;

@MyService
public class UserServiceImpl implements UserService {

	@MyAutowire
	private UserMapper userMapper;
	
	@Override
	public User user(Integer id) {
		return userMapper.selectUser(id);
	}

	@Override
	public List<User> list() {
		return userMapper.selectList();
	}

	@Override
	public Set<String> set() {
		return userMapper.selectSet();
	}

}
